import request from '@/utils/request'
  
export default {
 
  // 保存视频
  saveVideo(eduVideo) {
 
    return request({
 
      url: `/eduservice/video/saveVideo/`,
 
      method: 'post',
 
      data: eduVideo
    })
 
  },
  // 删除视频
  deleteVideo(id){
 
    return request({
 
      url: `/eduservice/video/deleteVideo/${id}`,
 
      method: 'delete',
 
    })
 
  },
  // 删除阿里云的视频
  deleteYunVideo(id){
 
    return request({
 
      url: `/eduvod/video/deleteYunVideo/${id}`,
 
      method: 'delete',
 
    })
 
  }



 
}